package id.net.iconpln.bb.server.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import id.net.iconpln.bb.server.dao.ApprovalDao;
import id.net.iconpln.bb.server.dao.PengendalianDao;
import id.net.iconpln.bb.server.service.ApprovalServices;
import id.net.iconpln.bb.server.service.TransportService;

@Service
@Transactional(readOnly = true)
public class ApprovalServicesImpl implements ApprovalServices{

	@Autowired private ApprovalDao approvalDao;
	
	@Override
	public List<Map> getlistpengiriman_approval(String kode, Map map) {
		// TODO Auto-generated method stub
		return approvalDao.getlistpengiriman_approval(kode, map);
	}

	@Override
	public List<Map> insertBbPengirimanBb(String kode, Map map) {
		// TODO Auto-generated method stub
		return approvalDao.insertBbPengirimanBb(kode, map);
//		return null;
	}

	@Override
	public List<Map> insertGudangBb(String kode, Map map) {
		// TODO Auto-generated method stub
		return approvalDao.insertGudangBb(kode, map);
	}

	@Override
	public List<Map> getlistRakor(String kode, Map map) {
		// TODO Auto-generated method stub
		return approvalDao.getlistRakor(kode, map);
	}

	@Override
	public List<Map> getlistPltuByNorakor(String kode, Map map) {
		// TODO Auto-generated method stub
		return approvalDao.getlistPltuByNorakor(kode, map);
	}

}
